package com.weishu.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.weishu.domain.TSfContract;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author liyan
 * @since 2021-07-31
 */
@Mapper
public interface TSfContractMapper extends BaseMapper<TSfContract> {

    //查询
    List<TSfContract> select(TSfContract sfContract);

    //查询产品信息
    List<TSfContract> plist();

    //根据id查询对应的数据
    TSfContract getBypid(Integer productId);

    //查询金额
    TSfContract getbalance(Integer id);
}
